package com.example.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;


/**
 * 酒店管理对象 hotel
 *
 * @author changyao
 * @date 2024-11-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Hotel implements Serializable
{
    private static final long serialVersionUID = 1L;
    @TableId(value = "id",type = IdType.AUTO)
    /** 主键 */
    private Long id;

    /** 酒店名 */
    private String name;

    /** 价格 */
    private BigDecimal price;

    /** 酒店地点 */
    private String address;

    private String photo;

    /** 联系电话 */
    private String phone;
    private String content;

}
